package com.ctg.payroll2.dao.empadmin;

import java.sql.SQLException;
import java.util.List;

import com.ctg.payroll2.bean.po.CsEmpAccount;
import com.ctg.payroll2.bean.po.PbEmployee;
import com.ctg.platform.orm.ibatis.EntityDAO;

public interface EmpAdminIndexDao extends EntityDAO<PbEmployee> {
	void delete(List data) throws SQLException;
	
	/**
	 * 给用户权限表里插入数据
	 * @param csEmpAccount
	 * @throws SQLException
	 */
	void insertempRoll(CsEmpAccount csEmpAccount) throws SQLException;
	
	/**
	 * 根据Id查询权限信息
	 * @param empId
	 * @return
	 * @throws SQLException
	 */
	CsEmpAccount queryEmpRoll(Integer empId) throws SQLException;
}
